package com.ling.sbbyyds.entity.community;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.persistence.Id;
import javax.persistence.Table;


@Data
//表名
@Table(name = "sbb_community_talk_type")
@ApiModel(description = "社区话题类型（分类）")
public class CommunityTalkType {

    @Id
    @ApiModelProperty("话题类型id")
    private Long communityTalkTypeId;

    @ApiModelProperty("话题类型名称")
    private String communityTalkTypeName;

    @ApiModelProperty("背景图")
    private String background;

    @ApiModelProperty("排序 越小越排前面")
    private Integer sort;

}
